[1] 1.732051
[1] 3
[1] 2.718282
[1] 1.386294
[1] 6
ANU BDSI
workshop Introduction to R programming
Biological Data Science Institute
3rd April 2024
All materials will be hosted at
https://anu-bdsi.github.io/workshop-intro-R/
The main aim is for you to get started with using R for basic computations.
Photo by Sara Kurfeß on Unsplash
stats, graphics, grDevices, utils, datasets, methods, base), collectively referred to as the “base packages”, that are loaded automatically when you launch it.base.library(help = "base") for indexed help files.base or stats package.mean()median()fivenum()min()max()quantile()cor()NA in R denotes missing values – there are in fact different types of missing values (NA_character_, NA_integer_, NA_real_, NA_complex_).The density (d), distribution (p) or quantile (q) functions of a parametric distribution are generally in the stats package.
There are functions to generate random values from a particular parametric distribution (r).
Some examples are:
Normal distribution
dnorm()pnorm()qnorm()rnorm()t-distribution
dt()pt()qt()rt()Poisson distribution
dpois()ppois()qpois()rpois()F distribution
df()pf()qf()rf()anu-bdsi.github.io/workshop-intro-R/